package com.zy.batiya.domain;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 途家订单表
 * 
 * @author zhangyi
 * @version 1.0 
 * @date 2017年10月8日 下午3:18:39
 * @since 1.0	
 */
public class Order {
  private int id;
  private String oid;
  private String partner_pid;//产品供应商编号,重复代表更新
  private String partner_uid;//供应商房型编号,重复代表更新
  private Date checkin;
  private Date checkout;
  private int guest_count;
  private String currency;
  private BigDecimal total_price;
  private String link_man;
  private String link_phone;
  private String link_email;
  private int number_of_units;
  private int status;//状态 1 成功 2 取消 3 确认中
  private Date createtime;
  private Date updatetime;
  
  //取消相关
  private BigDecimal penalty;//罚金
  private Date canceltime;//取消时间
  
  public int getId() {
    return id;
  }
  public void setId(int id) {
    this.id = id;
  }
  public String getOid() {
    return oid;
  }
  public void setOid(String oid) {
    this.oid = oid;
  }
  public String getPartner_pid() {
    return partner_pid;
  }
  public void setPartner_pid(String partner_pid) {
    this.partner_pid = partner_pid;
  }
  public String getPartner_uid() {
    return partner_uid;
  }
  public void setPartner_uid(String partner_uid) {
    this.partner_uid = partner_uid;
  }
  public Date getCheckin() {
    return checkin;
  }
  public void setCheckin(Date checkin) {
    this.checkin = checkin;
  }
  public Date getCheckout() {
    return checkout;
  }
  public void setCheckout(Date checkout) {
    this.checkout = checkout;
  }
  public int getGuest_count() {
    return guest_count;
  }
  public void setGuest_count(int guest_count) {
    this.guest_count = guest_count;
  }
  public String getCurrency() {
    return currency;
  }
  public void setCurrency(String currency) {
    this.currency = currency;
  }
  public BigDecimal getTotal_price() {
    return total_price;
  }
  public void setTotal_price(BigDecimal total_price) {
    this.total_price = total_price;
  }
  public int getStatus() {
    return status;
  }
  public void setStatus(int status) {
    this.status = status;
  }
  public String getLink_man() {
    return link_man;
  }
  public void setLink_man(String link_man) {
    this.link_man = link_man;
  }
  public String getLink_phone() {
    return link_phone;
  }
  public void setLink_phone(String link_phone) {
    this.link_phone = link_phone;
  }
  public String getLink_email() {
    return link_email;
  }
  public void setLink_email(String link_email) {
    this.link_email = link_email;
  }
  public int getNumber_of_units() {
    return number_of_units;
  }
  public void setNumber_of_units(int number_of_units) {
    this.number_of_units = number_of_units;
  }
  public Date getCreatetime() {
    return createtime;
  }
  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }
  public Date getUpdatetime() {
    return updatetime;
  }
  public void setUpdatetime(Date updatetime) {
    this.updatetime = updatetime;
  }
  public BigDecimal getPenalty() {
    return penalty;
  }
  public void setPenalty(BigDecimal penalty) {
    this.penalty = penalty;
  }
  public Date getCanceltime() {
    return canceltime;
  }
  public void setCanceltime(Date canceltime) {
    this.canceltime = canceltime;
  }
}
